package com.gy.yemall.yemallgateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

// 网关也需要注册到服务中心
@EnableDiscoveryClient
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)
public class YemallGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(YemallGatewayApplication.class, args);
    }

}
